[INFO] cloning repository https://github.com/suhanyujie/rust-cookbook-note
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhanyujie/rust-cookbook-note" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 66acbfcbeae3d5f99905786b9c84192c43e47560
[INFO] checking suhanyujie/rust-cookbook-note against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/suhanyujie/rust-cookbook-note
[INFO] finished tweaking git repo https://github.com/suhanyujie/rust-cookbook-note
[INFO] tweaked toml for git repo https://github.com/suhanyujie/rust-cookbook-note written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/suhanyujie/rust-cookbook-note already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[ERROR] this task or one of its parent failed!
[ERROR] no output for 300 seconds
[ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.
[INFO] checking suhanyujie/rust-cookbook-note against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/suhanyujie/rust-cookbook-note
[INFO] finished tweaking git repo https://github.com/suhanyujie/rust-cookbook-note
[INFO] tweaked toml for git repo https://github.com/suhanyujie/rust-cookbook-note written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/suhanyujie/rust-cookbook-note already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking suhanyujie/rust-cookbook-note against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhanyujie%2Frust-cookbook-note" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/suhanyujie/rust-cookbook-note on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/suhanyujie/rust-cookbook-note
[INFO] finished tweaking git repo https://github.com/suhanyujie/rust-cookbook-note
[INFO] tweaked toml for git repo https://github.com/suhanyujie/rust-cookbook-note written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/suhanyujie/rust-cookbook-note already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bbef1729124ac53c622acb050864cce94c925e6c6e9e2efb1a156645e88a6220
[INFO] running `Command { std: "docker" "start" "-a" "bbef1729124ac53c622acb050864cce94c925e6c6e9e2efb1a156645e88a6220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bbef1729124ac53c622acb050864cce94c925e6c6e9e2efb1a156645e88a6220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbef1729124ac53c622acb050864cce94c925e6c6e9e2efb1a156645e88a6220", kill_on_drop: false }`
[INFO] [stdout] bbef1729124ac53c622acb050864cce94c925e6c6e9e2efb1a156645e88a6220
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a495359a3da8d4076e73b7d8012b8e96c97132941febe01704a7467d51db06ac
[INFO] running `Command { std: "docker" "start" "-a" "a495359a3da8d4076e73b7d8012b8e96c97132941febe01704a7467d51db06ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking regex-syntax v0.6.26
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking chrono v0.4.13
[INFO] [stderr]     Checking regex v1.5.6
[INFO] [stderr]     Checking toml2json v0.1.0 (/opt/rustwide/workdir/toml2json)
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stdout] warning: function `toml2json` is never used
[INFO] [stdout]  --> toml2json/src/lib.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn toml2json() -> Result<String, Box<dyn Error>> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking cookbooktest v0.1.0 (/opt/rustwide/workdir/cookbooktest)
[INFO] [stdout] warning: function `toml2json` is never used
[INFO] [stdout]  --> toml2json/src/lib.rs:3:4
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn toml2json() -> Result<String, Box<dyn Error>> {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking globset v0.4.8
[INFO] [stderr]     Checking ignore v0.4.18
[INFO] [stderr]     Checking cookbook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/algorithm.rs:63:29
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let die = Uniform::from(min..max);
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/algorithm.rs:116:29
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let rand_str: String = (0..length)
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/notes/alpha.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/notes/copy_trait.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Mul`, `Sub`
[INFO] [stdout]  --> src/notes/op_rhs.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Div, Mul, Sub};
[INFO] [stdout]   |                     ^^^  ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/op_rhs.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |             for i in len1..len2 {
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for i in 0..COUNT {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |         for i in 0..COUNT {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 for i in 0..COUNT {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 for i in 0..COUNT {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/notes/sort.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..arr.len() {
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/sort.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     for i in 1..arr_l {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `notes::alpha`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use notes::alpha;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/main.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for i in 0..1000000 {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/algorithm.rs:63:29
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let die = Uniform::from(min..max);
[INFO] [stdout]    |                             ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/algorithm.rs:116:29
[INFO] [stdout]     |
[INFO] [stdout] 116 |     let rand_str: String = (0..length)
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/notes/alpha.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate-level attribute should be in the root module
[INFO] [stdout]  --> src/notes/alpha.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(dyn_trait)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Ordering`
[INFO] [stdout]  --> src/notes/copy_trait.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Ordering;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Mul`, `Sub`
[INFO] [stdout]  --> src/notes/op_rhs.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Div, Mul, Sub};
[INFO] [stdout]   |                     ^^^  ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/op_rhs.rs:36:22
[INFO] [stdout]    |
[INFO] [stdout] 36 |             for i in len1..len2 {
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for i in 0..COUNT {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 50 |         for i in 0..COUNT {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 for i in 0..COUNT {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/process_data_competition.rs:74:26
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 for i in 0..COUNT {
[INFO] [stdout]    |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/notes/sort.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..arr.len() {
[INFO] [stdout]   |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/notes/sort.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     for i in 1..arr_l {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]   --> src/notes/sort.rs:80:20
[INFO] [stdout]    |
[INFO] [stdout] 80 |         for num in 0..=9 {
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `notes::alpha`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use notes::alpha;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/main.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |     for i in 0..1000000 {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate-level attribute should be in the root module
[INFO] [stdout]  --> src/notes/alpha.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(dyn_trait)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     process::exit(-1);
[INFO] [stdout]    |     ----------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 24 |     command::try_with_test_param();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/algorithm.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     process::exit(-1);
[INFO] [stdout]    |     ----------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 24 |     command::try_with_test_param();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/command.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             status,
[INFO] [stdout]    |             ^^^^^^ help: try ignoring the field: `status: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stderr`
[INFO] [stdout]   --> src/command.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             stderr,
[INFO] [stdout]    |             ^^^^^^ help: try ignoring the field: `stderr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_duck`
[INFO] [stdout]   --> src/notes/alpha.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) {
[INFO] [stdout]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_duck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d3`
[INFO] [stdout]   --> src/notes/alpha.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let d3 = d2 as &dyn Bird;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_d3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]   --> src/notes/copy_trait.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let v2 = v1;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/algorithm.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]   --> src/command.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             status,
[INFO] [stdout]    |             ^^^^^^ help: try ignoring the field: `status: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stderr`
[INFO] [stdout]   --> src/command.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |             stderr,
[INFO] [stdout]    |             ^^^^^^ help: try ignoring the field: `stderr: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for i in 0..COUNT {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         for i in 0..COUNT {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_duck`
[INFO] [stdout]   --> src/notes/alpha.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) {
[INFO] [stdout]    |                      ^^^^^^ help: if this is intentional, prefix it with an underscore: `_p_duck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d3`
[INFO] [stdout]   --> src/notes/alpha.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let d3 = d2 as &dyn Bird;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_d3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/notes/process_data_competition.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         MyData(data1) => {
[INFO] [stdout]    |         ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 83 |         _ => {
[INFO] [stdout]    |         ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v2`
[INFO] [stdout]   --> src/notes/copy_trait.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let v2 = v1;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 for i in 0..COUNT {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 for i in 0..COUNT {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_a_u8_num` is never used
[INFO] [stdout]   --> src/algorithm.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn gen_a_u8_num() -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_a_i32_num` is never used
[INFO] [stdout]   --> src/algorithm.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn gen_a_i32_num() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_random_within_range` is never used
[INFO] [stdout]   --> src/algorithm.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn gen_random_within_range(min: isize, max: isize) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/algorithm.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Point {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 71 |     x: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 72 |     y: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_random_string` is never used
[INFO] [stdout]   --> src/algorithm.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn get_random_string(length: u8) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_random_string_from_customer_str` is never used
[INFO] [stdout]    --> src/algorithm.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn get_random_string_from_customer_str(length: u8) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Bird` is never used
[INFO] [stdout]  --> src/notes/alpha.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Bird {
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Duck` is never constructed
[INFO] [stdout]  --> src/notes/alpha.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Duck;
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Swan` is never constructed
[INFO] [stdout]   --> src/notes/alpha.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Swan;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_traitobject` is never used
[INFO] [stdout]   --> src/notes/alpha.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/notes/alpha.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x_value` and `y_value` are never read
[INFO] [stdout]   --> src/notes/copy_trait.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 11 |     x_value: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     y_value: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyData0` is never constructed
[INFO] [stdout]   --> src/notes/process_data_competition.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct MyData0(Rc<isize>);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyData0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/notes/process_data_competition.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl MyData0 {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 18 |     pub fn new(num: isize) -> MyData0 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/notes/process_data_competition.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MyData(Arc<Mutex<isize>>);
[INFO] [stdout]    |            ------ ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MyData(());
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_resolve_competition` is never used
[INFO] [stdout]   --> src/notes/process_data_competition.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn test_resolve_competition() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_bubble` is never used
[INFO] [stdout]  --> src/notes/sort.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn simple_bubble(arr: &mut Vec<i32>) -> &Vec<i32> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert` is never used
[INFO] [stdout]   --> src/notes/sort.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn insert(arr: &mut Vec<i32>) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shell_sort` is never used
[INFO] [stdout]   --> src/notes/sort.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn shell_sort(arr: &Vec<i32>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_shell_addition_rate` is never used
[INFO] [stdout]   --> src/notes/sort.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn get_shell_addition_rate(l: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `one_file_func` is never used
[INFO] [stdout]  --> src/notes/test_module/one_file.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn one_file_func() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Human` is never used
[INFO] [stdout]  --> src/notes/test_module/one_file.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Human {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `age` are never read
[INFO] [stdout]   --> src/notes/test_module/one_file.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Stu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 13 |     id: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |         for i in 0..COUNT {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         for i in 0..COUNT {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/notes/process_data_competition.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         MyData(data1) => {
[INFO] [stdout]    |         ------------- matches any value
[INFO] [stdout] ...
[INFO] [stdout] 83 |         _ => {
[INFO] [stdout]    |         ^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 66 |                 for i in 0..COUNT {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/notes/process_data_competition.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 for i in 0..COUNT {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 51 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_a_u8_num` is never used
[INFO] [stdout]   --> src/algorithm.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn gen_a_u8_num() -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_a_i32_num` is never used
[INFO] [stdout]   --> src/algorithm.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn gen_a_i32_num() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_random_within_range` is never used
[INFO] [stdout]   --> src/algorithm.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn gen_random_within_range(min: isize, max: isize) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/algorithm.rs:71:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Point {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 71 |     x: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 72 |     y: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Bird` is never used
[INFO] [stdout]  --> src/notes/alpha.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Bird {
[INFO] [stdout]   |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Duck` is never constructed
[INFO] [stdout]  --> src/notes/alpha.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Duck;
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Swan` is never constructed
[INFO] [stdout]   --> src/notes/alpha.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Swan;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_traitobject` is never used
[INFO] [stdout]   --> src/notes/alpha.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn print_traitobject(p_duck: &dyn Bird) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run` is never used
[INFO] [stdout]   --> src/notes/alpha.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x_value` and `y_value` are never read
[INFO] [stdout]   --> src/notes/copy_trait.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Point {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout] 11 |     x_value: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     y_value: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyData0` is never constructed
[INFO] [stdout]   --> src/notes/process_data_competition.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct MyData0(Rc<isize>);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyData0` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/notes/process_data_competition.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl MyData0 {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 18 |     pub fn new(num: isize) -> MyData0 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/notes/process_data_competition.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MyData(Arc<Mutex<isize>>);
[INFO] [stdout]    |            ------ ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct MyData(());
[INFO] [stdout]    |                   ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_resolve_competition` is never used
[INFO] [stdout]   --> src/notes/process_data_competition.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn test_resolve_competition() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shell_sort` is never used
[INFO] [stdout]   --> src/notes/sort.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn shell_sort(arr: &Vec<i32>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_shell_addition_rate` is never used
[INFO] [stdout]   --> src/notes/sort.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn get_shell_addition_rate(l: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `one_file_func` is never used
[INFO] [stdout]  --> src/notes/test_module/one_file.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn one_file_func() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Human` is never used
[INFO] [stdout]  --> src/notes/test_module/one_file.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Human {
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `age` are never read
[INFO] [stdout]   --> src/notes/test_module/one_file.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Stu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 13 |     id: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 14 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 15 |     age: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Stu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 48 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]     Checking tokio v1.16.1
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking tokio-util v0.7.2
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking hyper v0.14.4
[INFO] [stderr]     Checking static-server v0.1.0 (/opt/rustwide/workdir/src/notes/static-server)
[INFO] [stdout] warning: unused imports: `make_service_fn`, `service_fn`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hyper::service::{make_service_fn, service_fn};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Server`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::{Body, Request, Response, Server};
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::{canonicalize, File};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `Read`, `SeekFrom`, `Seek`, `self`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{self, BufReader, Read, Seek, SeekFrom};
[INFO] [stdout]   |               ^^^^  ^^^^^^^^^  ^^^^  ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `make_service_fn`, `service_fn`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hyper::service::{make_service_fn, service_fn};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Server`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:2:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hyper::{Body, Request, Response, Server};
[INFO] [stdout]   |                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::{canonicalize, File};
[INFO] [stdout]   |                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufReader`, `Read`, `SeekFrom`, `Seek`, `self`
[INFO] [stdout]  --> src/notes/static-server/src/server1.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{self, BufReader, Read, Seek, SeekFrom};
[INFO] [stdout]   |               ^^^^  ^^^^^^^^^  ^^^^  ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `P1`
[INFO] [stdout]   --> src/notes/static-server/src/server1.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .filter(|entry| dir_path != entry.path())
[INFO] [stdout]    |                         -------- ^^ ------------ &Path
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         P1
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn walk_dir<P1: AsRef<Path> + std::cmp::PartialEq<&std::path::Path>, P2: AsRef<Path>>(dir_path: P1, base_path: P2) {
[INFO] [stdout]    |                             +++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `P1`
[INFO] [stdout]   --> src/notes/static-server/src/server1.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 |         .filter(|entry| dir_path != entry.path())
[INFO] [stdout]    |                         -------- ^^ ------------ &Path
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         P1
[INFO] [stdout]    |
[INFO] [stdout] help: consider further restricting this bound
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn walk_dir<P1: AsRef<Path> + std::cmp::PartialEq<&std::path::Path>, P2: AsRef<Path>>(dir_path: P1, base_path: P2) {
[INFO] [stdout]    |                             +++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Walk` doesn't implement `Debug`
[INFO] [stdout]   --> src/notes/static-server/src/server1.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     dbg!(iter);
[INFO] [stdout]    |     ^^^^^^^^^^ `Walk` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `Walk`, which is required by `&Map<Filter<FilterMap<Walk, {closure@src/notes/static-server/src/server1.rs:55:21: 55:28}>, {closure@src/notes/static-server/src/server1.rs:56:17: 56:24}>, {closure@src/notes/static-server/src/server1.rs:57:14: 57:21}>: Debug`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Map<I, F>`
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Walk` doesn't implement `Debug`
[INFO] [stdout]   --> src/notes/static-server/src/server1.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     dbg!(iter);
[INFO] [stdout]    |     ^^^^^^^^^^ `Walk` cannot be formatted using `{:?}` because it doesn't implement `Debug`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Debug` is not implemented for `Walk`, which is required by `&Map<Filter<FilterMap<Walk, {closure@src/notes/static-server/src/server1.rs:55:21: 55:28}>, {closure@src/notes/static-server/src/server1.rs:56:17: 56:24}>, {closure@src/notes/static-server/src/server1.rs:57:14: 57:21}>: Debug`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `Map<I, F>`
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `static-server` (bin "static-server") due to 3 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `static-server` (bin "static-server" test) due to 3 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a495359a3da8d4076e73b7d8012b8e96c97132941febe01704a7467d51db06ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a495359a3da8d4076e73b7d8012b8e96c97132941febe01704a7467d51db06ac", kill_on_drop: false }`
[INFO] [stdout] a495359a3da8d4076e73b7d8012b8e96c97132941febe01704a7467d51db06ac
